package com.webserver.vo;

import java.io.Serializable;

public class Article implements Serializable {
    private String title;
    private String author;
    private String content;
    public Article(){}
    public Article(String title,String author,String content){
        this.title=title;
        this.author=author;
        this.content=content;
    }

    public String getTitle() {
        return title;
    }

    public String getAuthor() {
        return author;
    }

    public String getContent() {
        return content;
    }

    @Override
    public String toString() {
        return "Article{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
